/*
 * Identifier.cpp
 *
 *  Created on: 05/05/2010
 *      Author: rodolfo
 */

#include "Identifier.h"

Identifier::Identifier() : Expression ( identifierExp )
{

}

Identifier::~Identifier()
{
	if (name != 0 )
		delete name;
	if (value != 0 ) 
		delete value;
}

Identifier::Identifier ( std::string *name ) :
        name ( name ), Expression ( identifierExp )
{
}

Identifier::Identifier ( std::string *name, Expression *value ) :
        name ( name ), value ( value ), Expression ( identifierExp )
{
}

